﻿//创建时间: 2011-6-30
//创建作者: 李 城
//功能说明: 信息点击 操作类
//最后修改: 2011-6-30
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TRPOP.Common;
using System.Data;

namespace TRPOP.CMS.Plugin
{
    /// <summary>
    /// 信息点击 操作类
    /// </summary>
    public interface IContentClickLog
    {
        /// <summary>
        ///   添加记录
        /// </summary>
        /// <param name="info"></param>
        /// <returns></returns>
        bool Save(int intID);


        /// <summary>
        /// 添加记录
        /// </summary>
        /// <param name="intID"></param>
        /// <param name="blnIsCheckValidity">是否: 检测传递参数所对应的内容信息是否有效</param>
        /// <returns></returns>
        bool Save(int intID, bool blnIsCheckValidity);

        /// <summary>
        ///  根据条件 查询分页数据
        ///  返回的字段有：
        ///  DataIndexNum  ClickCount(点击次数)
        ///  ContentId iLogId  dtClickTime  ContentName, Url, AddUserId, PubTime,  PubStatus, NodeId,  NodeName, 
        ///  AdminUserName,  AdminUserLogName, TopWeight,  EliteWeight, DisplayOrder
        /// </summary>
        /// <param name="pageNumber"></param>
        /// <param name="pageSize"></param>
        /// <param name="condition"></param>
        /// <param name="orderby"></param>
        /// <param name="recordCount"></param>
        /// <returns></returns>
        DataSet GetListByPager(int pageNumber, int pageSize, string condition, string orderby, out int recordCount);
    }
}
